package ooday02;

/**
 * @author Administrator
 */
public class Chick extends Animals {
    Chick(String name,int age,String color){
        super(name,age,color);
    }

    @Override
    void eat() {
        System.out.println(name+"喜欢吃你家大米");
    }
    void layEgg(){
        System.out.println(name+"会下蛋");
    }
}
